package at.fhj.itm11.antesk.memory.model;

import javax.swing.ImageIcon;

public class Images {
	
	private ImageIcon img1;
	private ImageIcon img2;
	private ImageIcon img3;
	private ImageIcon img4;
	private ImageIcon img5;
	private ImageIcon img6;
	private ImageIcon img7;
	private ImageIcon img8;
	
	public Images(){
		img1 = new ImageIcon("img/1.jpg");
		img2 = new ImageIcon("img/2.jpg");
		img3 = new ImageIcon("img/3.jpg");
		img4 = new ImageIcon("img/4.jpg");
		img5 = new ImageIcon("img/5.jpg");
		img6 = new ImageIcon("img/6.jpg");
		img7 = new ImageIcon("img/7.jpg");
		img8 = new ImageIcon("img/8.jpg");
	}

	public ImageIcon getImg(int num) {
		switch(num){
		case 0:
			return img1;
		case 1:
			return img2;
		case 2:
			return img3;
		case 3:
			return img4;
		case 4:
			return img5;
		case 5:
			return img6;
		case 6:
			return img7;
		case 7:
			return img8;
		}
		
		return null;
	}
	
}
